package com.abbcc.models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;
import org.hibernate.search.annotations.DocumentId;

import com.abbcc.util.IDUtil;

@Entity
@Table(name = "email_account")
public class TdEmailAccount {
	private int countId;
	private String smtpName;
	private String account;
	private String password;
	private String email;
	@Id 
	@Column(name="count_id") 
	public int getCountId() {
		return countId;
	}
	public void setCountId(int countId) {
		this.countId = countId;
	}
	@Column(name="smtp_name")
	public String getSmtpName() {
		return smtpName;
	}
	public void setSmtpName(String smtpName) {
		this.smtpName = smtpName;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
}
